<template>
  <div>
    <!-- type参数不可少 某些如infinityTable组件会用到-->
	<component :is="'v-' + type"  v-bind="$attrs" v-on="$listeners" type="view"></component>
  </div>
</template>

<script>
import address from "./address";
import base from "./base";
import infinityTable from "../../form/components/InfinityTable";
export default {
	name: "v-strip",
	props: {
		Value: {
			type: [String, Array, Object, Number],
			default: ""
		},
		type: {
			type: String,
			default: ""
		}
	},
	components: {
		[address.name]: address,
		[base.name]: base,
		[infinityTable.name]: infinityTable
	},
	methods: {
		sss() {
			alert();
		}
	}
};
</script>

<style lang="less">

</style>
